﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class LogoutServiceResponse
    {
        public int Code { get; set; }
        public string Message { get; set; }

        public LogoutServiceResponse()
        {

        }

        public LogoutServiceResponse(int ErrorCode)
        {
            Code = ErrorCode;
            Message = new ErrorCodes().GetErrorCodes(ErrorCode);
        }

        public List<string> Log()
        {
            List<string> result = new List<string>();
            result.Add("Method: Logout - Response");
            result.Add("Response code: " + Code);
            result.Add("Response message: " + Message);
            return result;
        }
    }
}
